class_name GainScoreEffect
extends GameplayEffect


func _on_attach() -> void:
	var gain_score_effect_asset = effect_asset as GainScoreEffectAsset
	if gain_score_effect_asset:
		target.attribute_set.get_attribute("score").base_value += source.attribute_set.get_attribute("score").current_value
